package com.handu.luna.core.domain;

import javax.transaction.Transactional;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;


@Configuration
@EnableAutoConfiguration
@ComponentScan
@Transactional
@EnableJpaAuditing
@ImportResource("classpath:applicationContext.xml")
public class Application {

    public static void main(String[] args) {

    	SpringApplication app = new SpringApplication(Application.class);
        app.setShowBanner(false);       

        app.run(args); 
    }	
}